﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Jzy.Workflow.Node;

namespace Jzy.Workflow.GDI
{
    public class FlowNode
    {
        public int PKID
        {
            get;
            set;
        }

        public List<FlowLine> Lines
        {
            get
            {
                return _lines;
            }
        }

        private List<FlowLine> _lines;

        public FlowNodeType Type
        {
            get;
            set;
        }

        /// <summary>
        /// 标题
        /// </summary>
        public string Name
        {
            get;
            set;
        }
        
        public Flow Flow
        {
            get;
            set;
        }

        public double Width
        {
            get;
            set;
        }

        public double Height
        {
            get;
            set;
        }

        public double Top
        {
            get;
            set;
        }

        public double Left
        {
            get;
            set;
        }

    }
}
